package com.waa.gulimall.common.exception;

public class NoStockException extends RuntimeException {
    private Long skuId;

    public NoStockException(Long skuId) {
        System.out.println("商品id:" + skuId + "没有足够库存了");
    }

    public Long getSkuId() {
        return skuId;
    }
}
